package hdaccp.liteamall.controller;


import hdaccp.liteamall.dao.LitemallAdminMapper;
import hdaccp.liteamall.entity.LitemallAdmin;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class AdminlController {

   @Resource
    private LitemallAdminMapper litemallAdminMapper;

   @RequestMapping("admin/query")
   public List< LitemallAdmin> query(){
       return litemallAdminMapper.query();
   }


}
